<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/font-awesome-4.7.0/css/font-awesome.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
	<div style="margin:0 auto; height: 100%;">
		<div class="light-app-left">
			<div class="setting" id="setting">
				<a rowid="nochecklist" class="setting-a" auth="1568973352669">未审核</a>
				<a rowid="checkedlist" class="setting-a" auth="1568973377977">已审核</a>
			</div>
		</div>
		<div class="light-app-right layui-hide" id="noCheckForm" auth="1568973352669">
			<div class="txtcenter" style="margin: 0 auto; padding: 10px;">
				<form class="layui-form layui-form-pane" action="" autocomplete="off">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">标题</label>
							<div class="layui-input-inline">
								<input type="text" id="title" name="title" placeholder="请输入知识库标题" class="layui-input" />
							</div>
							<label class="layui-form-label">一级类型</label>
							<div class="layui-input-inline">
								<select id="typeId" name="typeId" lay-filter="typeId" lay-search="">

								</select>
							</div>
							<label class="layui-form-label">二级类型</label>
							<div class="layui-input-inline">
								<select id="secondTypeId" name="secondTypeId" lay-filter="secondTypeId" lay-search="">

								</select>
							</div>
							<label class="layui-form-label">提交人</label>
							<div class="layui-input-inline">
								<input type="text" id="createUser" name="createUser" placeholder="请输入提交人姓名" class="layui-input" />
							</div>
							<label class="layui-form-label">提交时间</label>
							<div class="layui-input-inline">
								<input type="text" id="createTime" name="createTime" placeholder="请输入知识库提交时间" class="layui-input" />
							</div>
							<button type="reset" class="layui-btn layui-btn-primary list-form-search">重置</button>
							<button class="layui-btn list-form-search" type="button" id="formNoCheckSearch">搜索</button>
						</div>
					</div>
				</form>
			</div>
			<div class="winui-toolbar">
				<div class="winui-tool">
					<button id="reloadNoCheckTable" class="winui-toolbtn">
						<i class="fa fa-refresh" aria-hidden="true"></i>刷新数据
					</button>
				</div>
			</div>
			<div style="margin: auto 10px;">
				<table id="messageNoCheckTable" lay-filter="messageNoCheckTable"></table>
				<script type="text/html" id="tableBar">
					{{# if(auth('1569049810688')){ }}
            			<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="check">审核</a>
					{{# } }}
					<a class="layui-btn layui-btn-xs" lay-event="detail">详情</a>
        		</script>
			</div>
		</div>
		<div class="light-app-right layui-hide" id="checkedForm" auth="1568973377977">
			<div class="txtcenter" style="margin: 0 auto; padding: 10px;">
				<form class="layui-form layui-form-pane" action="" autocomplete="off">
					<div class="layui-form-item">
						<div class="layui-inline">
							<label class="layui-form-label">标题</label>
							<div class="layui-input-inline">
								<input type="text" id="checkedtitle" name="checkedtitle" placeholder="请输入知识库标题" class="layui-input" />
							</div>
							<label class="layui-form-label">状态</label>
			                <div class="layui-input-inline">
			                    <select id="state">
			                    	<option value="">全部</option>
			                    	<option value="2">审核通过</option>
			                    	<option value="3">审核不通过</option>
			                    </select>
			                </div>
							<label class="layui-form-label">一级类型</label>
							<div class="layui-input-inline">
								<select id="checkedtypeId" name="checkedtypeId" lay-filter="checkedtypeId" lay-search="">

								</select>
							</div>
							<label class="layui-form-label">二级类型</label>
							<div class="layui-input-inline">
								<select id="secondCheckedtypeId" name="secondCheckedtypeId" lay-filter="secondCheckedtypeId" lay-search="">

								</select>
							</div>
							<label class="layui-form-label">提交人</label>
							<div class="layui-input-inline">
								<input type="text" id="createName" name="createName" placeholder="请输入提交人姓名" class="layui-input" />
							</div>
							<label class="layui-form-label">提交时间</label>
							<div class="layui-input-inline">
								<input type="text" id="checkedCreateTime" name="checkedCreateTime" placeholder="请输入知识库提交时间" class="layui-input" />
							</div>
							<label class="layui-form-label">审核时间</label>
							<div class="layui-input-inline">
								<input type="text" id="checkedExamineTime" name="checkedExamineTime" placeholder="请输入知识库审核时间" class="layui-input" />
							</div>
							<button type="reset" class="layui-btn layui-btn-primary list-form-search">重置</button>
							<button class="layui-btn list-form-search" type="button" id="formCheckedSearch">搜索</button>
						</div>
					</div>
				</form>
			</div>
			<div class="winui-toolbar">
				<div class="winui-tool">
					<button id="reloadCheckedTable" class="winui-toolbtn">
						<i class="fa fa-refresh" aria-hidden="true"></i>刷新数据
					</button>
				</div>
			</div>
			<div style="margin: auto 10px;">
				<table id="messageCheckedTable" lay-filter="messageCheckedTable"></table>
				<script type="text/html" id="checkedTableBar">
					<a class="layui-btn layui-btn-xs" lay-event="checkeddetail">详情</a>
        		</script>
			</div>
		</div>
	</div> 
	<script src="../../assets/lib/layui/layui.js"></script>
	<script src="../../assets/lib/layui/custom.js"></script>
	<script type="text/javascript">
       layui.config({base: '../../js/knowledgecheck/'}).use('knowledgechecklist');
    </script>
</body>
</html>